<?php

namespace App\Services\Questions;

use App\Models\Question;
use Illuminate\Http\Request;

interface QuestionInterface
{
    /**
     * 定义创建
     *
     * @param Request $request
     * @return mixed
     */
    public function store(Request $request);

    /**
     * 定义修改
     *
     * @param Request $request
     * @param Question $question
     * @return mixed
     */
    public function update(Request $request, Question $question);
}
